<div id="main">
    <div class="container-fluid">
        <div class="page-header">
        	<div class="pull-left">
        		<h1>平台设置</h1>
        	</div>
        	<div class="pull-right">
        		<ul class="stats">
        			<li class='lightred'>
        				<i class="icon-calendar"></i>
        				<div class="details">
        					<span class="big"></span>
        					<span></span>
        				</div>
        			</li>
        		</ul>
        	</div>
        </div>
        <script type="text/javascript">
        function currentTime(){
        	var $el = $(".stats .icon-calendar").parent(),
        	currentDate = new Date(),
        	monthNames = [1,2,3,4,5,6,7,8,9,10,11,12],
        	dayNames = ["周日","周一","周二","周三","周四","周五","周六"];
        
        	$el.find(".details span").html(currentDate.getFullYear() + " - " + monthNames[currentDate.getMonth()] + " - " + currentDate.getDate());
        	$el.find(".details .big").last().html(currentDate.getHours()+":"+ ("0" + currentDate.getMinutes()).slice(-2) + ", " + dayNames[currentDate.getDay()]);
        	setTimeout(function(){
        		currentTime();
        	}, 10000);
        }
        currentTime();
        </script>
        <div class="breadcrumbs">
        	<ul>
        		<li>
        			<a href="javascript:void(0);">后台管理</a>
        			<i class="icon-angle-right"></i>
        		</li>
        		<li>
        			<a href="javascript:void(0);">系统管理</a>
        			<i class="icon-angle-right"></i>
        		</li>
        		<li>
        			<a href="javascript:void(0);">平台设置</a>
        		</li>
        	</ul>
        	<div class="close-bread">
        		<a href="#"><i class="icon-remove"></i></a>
        	</div>
        </div>
        
        <div class="row-fluid">
        	<div class="span12">
        		<div class="box box-color box-bordered">
        			<div class="box-title">
        				<h3>
        					<i class="icon-user"></i>
                            平台设置
        				</h3>
        			</div>
        			<div class="box-content nopadding">
        				<form  class='form-horizontal form-bordered form-validate' action='<?=$this->url("system/check")?>'  id="login" name="login" method='post'>
        					<div class="control-group">
        						<label class="control-label">网站标题</label>
        						<div class="controls">
        							<input type="text" name="data[title]" id="title" value="<?=empty($re)?'':$re['title'];?>" class="input-xlarge" />
        						</div>
        					</div>
        					<div class="control-group">
        						<label  class="control-label">网站SEO关键字</label>
        						<div class="controls">
        						  <textarea class="input-xlarge" name="data[keyword]"><?=empty($re)?'':$re['keyword']?></textarea>
                                </div>
        					</div>
        					<div class="control-group">
        						<label  class="control-label">网站描述</label>
        						<div class="controls">
        						  <textarea class="input-xlarge" name="data[description]"><?=empty($re)?'':$re['description']?></textarea>
                                </div>
        					</div>
        					<div class="form-actions">
        						<input type="submit" class="btn btn-primary show_shadefrist" value="修改" />
                                <input type="reset" class="btn btn-primary" value="重置" />
        					</div>
        				</form>
        			</div>
        		</div>
        	</div>
        </div>
    </div>
</div>